#ifndef NODE_H
#define NODE_H

#include "Common/MoveableItem.h"

class Node : public MoveableItem
{
	QList<BaseItem*> joins;
public:
	Node(QWidget* parent = NULL);

	void addJoin(BaseItem* join);

protected:
	void paintEvent(QPaintEvent *event);
	void mouseMoveEvent(QMouseEvent*event);
};

#endif // NODE_H
